.handsontable th.ht_nestingLevels {
  text-align: inline-start;
  padding-inline-start: 7px;
}

.handsontable th div.ht_nestingLevels {
  display: inline-block;
  position: absolute;
  inset-inline-start: 11px;
  inset-inline-end: unset;
}

.handsontable.innerBorderInlineStart th div.ht_nestingLevels,
.handsontable.innerBorderInlineStart ~ .handsontable th div.ht_nestingLevels {
  inset-inline-end: 10px;
  inset-inline-start: unset;
}

.handsontable th span.ht_nestingLevel {
  display: inline-block;
}

.handsontable th span.ht_nestingLevel_empty {
  display: inline-block;
  width: 10px;
  height: 1px;
  float: inline-start;
}

.handsontable th span.ht_nestingLevel::after {
  content: "\2510";
  font-size: 9px;
  display: inline-block;
  position: relative;
  bottom: 3px;
}


.handsontable th div.ht_nestingButton {
  display: inline-block;
  position: absolute;
  inset-inline-end: -2px;
  inset-inline-start: unset;
  cursor: pointer;
}

.handsontable th div.ht_nestingButton.ht_nestingExpand::after {
  content: "\002B";
}

.handsontable th div.ht_nestingButton.ht_nestingCollapse::after {
  content: "\002D";
}

.handsontable.innerBorderInlineStart th div.ht_nestingButton,
.handsontable.innerBorderInlineStart ~ .handsontable th div.ht_nestingButton {
  inset-inline-end: 0;
  inset-inline-start: unset;
}
